package com.sky.com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("员工DTO")
public class EmployeeDTO implements Serializable {
    @ApiModelProperty("员工ID")
    private Long id;

    @ApiModelProperty("账号")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("用户名")
    private String name;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("身份证号")
    private String idNumber;

    //员工id
    @ApiModelProperty("员工id")
    private Long empId;

    //旧密码
    @ApiModelProperty("旧密码")
    private String oldPassword;

    //新密码
    @ApiModelProperty("新密码")
    private String newPassword;

}
